export default class start extends Laya.Script {
    // 更多参数说明请访问: https://ldc2.layabox.com/doc/?nav=zh-as-2-4-0
    owner=this.owner as Laya.Sprite
    constructor() { super(); }
    
    onAwake(){
        Laya.stage.on("homepege",this,this.homepege)
        this.owner.on(Laya.Event.CLICK,this,this.start)
        
    }
    start(){
        this.owner.visible=false;
        Laya.stage.event("start")
    }
    homepege(){
        this.owner.visible=true;
    }
}